-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIP-39 import #285
base: master
Are you sure you want to change the base?
BIP-39 import #285
Conversation
Still receiving this exception when testing:
|
07eae0c
to
db04387
Compare
Another crash:
Please take in account the above address of mine corresponds to a READONLY account of mine. |
@knocte |
Or maybe list only normal (not readonly) accounts? |
Sounds good |
After sending the transaction, please add an invokation to the function that prints "Press any key to continue..." (like we do when we send normal transactions). |
One last thing to do here: after sending the transaction to recover the funds, convert the ImportedAccount to an ArchivedAccount and save it to disk. This way, geewallet will warn the user if more funds arrive to it in the future. |
ce686fb
to
a2db417
Compare
This PR has 5 commits. The first one has CI red, so I think the most logical thing to do is squash the 1st one with the 2nd, to avoid that red CI status, and because those two commits are basically working on the same thing. Later, I would also squash commits 3 and 4. So, in the end, this PR can have 3 commits only. |
Make native segwit default by always adding NATIVE_SEGWIT to defined constants in configure.fsx. To make tests work properly with native segwit, rename deprecated OriginAddress property to OriginMainAddress in test data.
Remove NATIVE_SEGWIT compile-time constant and all code that was disabled when NATIVE_SEGWIT was defined. Also remove readonly accounts migration to native segwit.
0b5c686
to
881d7ac
Compare
@webwarrior-ws nit: before showing the possible accounts where to send the funds to, please add a Console.WriteLine invokation that informs the user about the address where the funds are. |
881d7ac
to
0de1386
Compare
Added option to import wallet using BIP39 seed phrase (mnemonic). All funds from imported wallet (currently only first receiving address is used) are sent to BTC account of choice. After that, imported account is converted to archived account so geewallet will warn the user if more funds arrive to it in the future.
0de1386
to
f9f2146
Compare
@knocte done |
Implement the import in the backend using NBitcoin (BIP84 derivation path), with option to sweep the funds to a bitcoin account of geewallet with a transaction.